-- 定义了单个对象的所有导航方法，每个导航方法都返回相应的导航行为产生的力

local M = 
{
	_base_class = require "objects.Object",
	_class_name = "ai.SteerMethods"
};
setmetatable (M, {__index = _G;});
_ENV = M;

-- 向固定点前进
function Seek (steerComponent, targetPos)
	local desiredVelocity = (targetPos - steerComponent:GetPosition ()):Normalized ();
	return (desiredVelocity - steerComponent:GetVelocity ());
end

-- 避开固定点
function Flee ()
end

function Arrive () 
end

function Pursuit () 
end

function Evade () 
end

function Wander () 
end

function Obstacle_avoid () 
end

function Wall_avoid () 
end

function Interpose () 
end

function Hide ()
end

function Path_follow () 
end

function Offset_pursuit ()
end

return M;